/*
*	Created:			09.04.10
*	Author:				009
*/

// struct offsets
#define C_SAMP_PLAYERS_OFFSET					0x4
#define C_SAMP_VEHICLES_OFFSET					0x8
//
#define C_PLAYERS_PLAYER_OFFSET					0x7D0
#define C_VEHICLES_VEHICLE_OFFSET				0x1F40
//
// R2
#define R2_C_PLAYER_POS_X_OFFSET				0x0
#define R2_C_PLAYER_POS_Y_OFFSET				0x4
#define R2_C_PLAYER_POS_Z_OFFSET				0x8
#define R2_C_PLAYER_HEALTH_OFFSET				0xC
#define R2_C_PLAYER_ARMOUR_OFFSET				0x10
#define R2_C_PLAYER_ANGLE_OFFSET				0x24
#define R2_C_PLAYER_SYNC_TYPE_OFFSET			0x3E
#define R2_C_PLAYER_FOOT_SYNC_OFFSET			0x42
#define R2_C_PLAYER_INCAR_SYNC_OFFSET			0x86
#define R2_C_PLAYER_PASSANGER_SYNC_OFFSET		0xC5
#define R2_C_PLAYER_AIM_SYNC_OFFSET				0xDD
#define R2_C_PLAYER_AIM_SYNC_STATE_OFFSET		0x1A9
#define R2_C_PLAYER_STATE_OFFSET				0x1B5
#define R2_C_PLAYER_IS_STREAMED_OFFSET			0x1EF
#define R2_C_PLAYER_WEAPON_SKILL_OFFSET			0x196B
#define R2_C_PLAYER_SKIN_OFFSET					0x1986
#define R2_C_PLAYER_VEHICLE_ID_OFFSET			0x19BA
#define R2_C_PLAYER_VEHICLE_SEAT_OFFSET			0x19B9
#define R2_C_PLAYER_INTERIOR_OFFSET				0x19C8
#define R2_C_PLAYER_PLAYBACK_FILE				0x1A20
//
#define R2_C_VEHICLE_POS_X_OFFSET				0x0
#define R2_C_VEHICLE_POS_Y_OFFSET				0x4
#define R2_C_VEHICLE_POS_Z_OFFSET				0x8
#define R2_C_VEHICLE_DRIVER_OFFSET				0x6A
#define R2_C_VEHICLE_MODEL_OFFSET				0x82
#define R2_C_VEHICLE_HEALTH_OFFSET				0xA6